//
//  YZMFundListModel.h
//  YZMicroStock
//
//  Created by Lv.Dongdong on 16/4/13.
//  Copyright © 2016年 cqjr. All rights reserved.
//

#import <Mantle/Mantle.h>

@interface YZMFundListModel : MTLModel <MTLJSONSerializing>

@property (nonatomic, copy) NSString *explain;
@property (nonatomic, copy) NSString *detail;
@property (nonatomic, assign) double money;
@property (nonatomic, strong) NSDate *requestTime;
@property (nonatomic, strong) NSDate *disposeTime;
@property (nonatomic, assign) int type;
@property (nonatomic, assign) int status;
@property (nonatomic, strong) NSDate *time;
@property (nonatomic, assign) NSInteger ID;

- (NSString *)statusName;

- (UIColor *)statusColor;

+ (void)createEncoder:(NSArray *)array forKey:(NSString *)keyName;

+ (NSMutableArray *)createDecoder:(NSString *)keyName;

+ (void)createEncoderNil;

@end
